package com.dearcocoa;

/**
 * 常量
 * @ClassName Consts
 * @Author shengong
 * @Date 2020-07-24 22:50
 * @Description TODO
 */
public class Consts {
    private Consts() {}
    /**
     * 启用
     */
    public static final int ENABLE = 1;

    /**
     * 禁用
     */
    public static final int DISABLE = 0;

    /**
     * 页面
     */
    public static final int PAGE = 1;

    /**
     * 按钮
     */
    public static final int BUTTON = 2;


    /**
     * JWT 在 Redis 中保存的key前缀
     */
    public static final String REDIS_JWT_KEY_PREFIX = "security:jwt:";

    /**
     * 星号
     */
    public static final String SYMBOL_STAR = "*";

    /**
     * 邮箱符号
     */
    public static final String SYMBOL_EMAIL = "@";

    /**
     * 默认当前页码
     */
    public static final int DEFAULT_CURRENT_PAGE = 1;

    /**
     * 默认每页条数
     */
    public static final int DEFAULT_PAGE_SIZE = 10;

    /**
     * 匿名用户 用户名
     */
    public static final String ANONYMOUS_NAME = "匿名用户";
}
